	def div(n):
    		d=set()
    		for i in range(1, int(n**0.5)+1):
        		if n%i==0:
            			d.add(i)
            			d.add(n//i)
    		return sorted(d)
	for n in range(244143, 367821+1):
 		d=div(n)
 		if len(d)==5:
        		print(n,'->',*d)

	def div(n):
    		d=set()
    		for i in range(2, int(n**0.5)+1):
        		if n%i==0:
        		    d.add(i)
        		    d.add(n//i)
    		return sorted(d)
	for n in range(244143, 367821+1):
		d=div(n)
    		if len(d)==0:
        		print(n)
